﻿function AltImage(source, altURL)
{
    source.src = altURL;
    source.onerror = "";
    var parent = source.parentNode;
    if (parent.nodeName == "A")
    {
        parent.href = altURL;
    }
    return true;
}
